package com.yipinhouse.signing.infra.config;

import org.springframework.context.annotation.Configuration;

@Configuration
public class AlipayConfig {
    //↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
    public static String app_id = "2021000121672965";

    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDRjfBK3XSHw+qwXzZyqsMQpmHV/dmZgj+BnJpSFB2mqBBgTzugxNp/yHlHOydwMT/QhO8B0g6L3/b+YArbeA8qdfaqK+vwnOgMDlDk78GS1BGOPIqHqzpr1fkJmX2LK/ceqaR/fI6pUcn9bFUHmMUOssPq6NHucBq8LYLgFV7Ulk+WcTVTYa9qSYRD7nmgTxvZrr3y36gPtCTPQ4PM6WCrrYrkZHzeVgxrTKJVUxbpT/6YQq8lxzMxSZVAptP5xGm7rTj7Zvtr/vz0NhlTMDGAj72lln5nj1ynZd6uWtTTJ2XoFNiYk2T9QnFIcewvaijm7qVL/pFXIzNYLQuf3dMHAgMBAAECggEBALWDK9O9NRXwVtYE8wWp8iL266HPK2+ziUy8mFNmRzS3ONAjcXPVb6nlvV881vFwR2VX8Cr0h1MTYT9/c4gc244c9db7Cni1gK4IrHtRTavf84Dv4dKYN5d2lSuCf2NQZtJxgSJIgs4ZIUxZTOGyq2YK5HcSydyt0AqVpVpySFz8b3f4RzFEVGUgN4hZ8iOzGattkk2OBLcsfRS2hqdNFiTpJoUdBjBgGrsxFTDt01wiUlw/ocLGVdWNx7/1KOHa9yUclMDqf+KVuhoXsBVkw1W7kj46029D0aviH25R09Yq62Jb+VaZn0P2ZZIWO/B8yMFIy8CGZMocjL3LmkQ0u+ECgYEA+dCmXo/24P+FDuUVWK8CGQwSyH+il6t76iKIX8gsdu0qt9n8YfWXQ2LZuSFdEMG0+i9EXCpHIgyzqOr9BVukG3A0fY2vzyCcAu6JtfvYfNCf+QcUVF7tgWiR0uOozOcE3lcHhTEyxEBI2EFuLPl2GqhePOq4qNerOyzlUK1yXzECgYEA1r4dEBecOYdMGyy4mlAOiEzhO6ECmXv+YMtDYWVSkr5pFfZ9Uluw0qjocvWmpMcazigErZ/y/Qs5m+kVpuIK2na6wjs+A0iBt0aEzlLTGbS57WMt1Jx9SbFiOIRA2xLmqnKVSfndcBp1EeXPlWKIWISqECNRlREf6z4pHSecd7cCgYBJyBIbA7IKqe0GhSpU0vtvol050liXKxKiCCj3AQwA4/Ml8b/UvtA6GsvrHat683scGTG7dtEjgVTeouiv2G0TnYQjQOGX7y2kwAb0NLmvw3478pdSg+bpvZS0EIEeY2zQriuObwVraQEavdhoeBUlsmyC2WBIncn45D2mIlQRQQKBgEc0hOiIG6pLvaWpH5EziI4Th//AtN716XRpEe+irE2yS6AXuphrhOdlUKaF4/rxdmbziBGWXvkfFrwm/qH2hAjKo8Sx5i8qhLCj9nd/qTX14kzfvRupxDWCVwJMgEDkNI5CLlR4QL/iVf1YSYvMP0+ytb1iKLQYGJBlbTaYot5jAoGASMMEAoxDnVKOgox84VcCag/J+2L63qS5VmKICoyOnQ7RuR6riQ/v3SPz/0GBSfKkQTxjcYNMESGrloZuAIApswUZh2Wz7LvaqVsvDxukzIdXW3zjCsoH+JxC0EPqq7FgPsglsOZ899HeRq0l4V+wUXJ4ggC8OgmjuPo39jWx+lY=";

    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzRQydZ8O2KcMTSg69aQb+Td50GcbRvwWF5dnP26mxXDN0SqW2KOPaSIie9issqmqICUbhlH0rYCK0O8VcB7Ng+LKEUy6cePT/awqc7ol/d7tHL+CHYIIzMvy9wUE91X9kF+0vB4x2WU+c5skHpSgXH0VQW8U30PlrQJNoBOT8lfpe71MaeE1GecJ4MIB7o8qgOdpvsH5nju18XvKle0am0QdYK+pT/+ZkJLM9yGkBi+3rLcMzuWh00KJamRbuhenrfnNgaRH02zx7SQqXHZ+Q1vF0q4oESjBfpyfNBNopHimSqUMZCA2mSIn7/ycpsx5eN/000EAj+8FiQMd5J1aeQIDAQAB";

    // 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://zter7g.natappfree.cc/dietOrder/payBack";

    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String return_url = "http://192.168.70.49:8887/payment-success.html";

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String charset = "utf-8";

    // 支付宝网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";
}
